package evil.wolf.components;

import java.awt.Dimension;

import javax.swing.ImageIcon;
import javax.swing.JButton;

@SuppressWarnings("serial")
public class MyJButton extends JButton{

	public MyJButton(String name) {
		
		this.setText(name);
		this.setPreferredSize(new Dimension(80, 26));
		this.setMinimumSize(new Dimension(80, 26));
	}
	
	public MyJButton(ImageIcon icon) {
		super(icon);
		
//		this.setPreferredSize(new Dimension(80, 26));
//		this.setMinimumSize(new Dimension(80, 26));
	}
}